package com.mall.user;

import com.mall.user.dto.UserRegisterRequest;
import com.mall.user.dto.UserRegisterResponse;

/**
 * @Classname IRegisterService
 * @Description 用户注册相关业务，向用户表插入数据，向用户验证表插入数据
 * @Date 2021/5/22 15:39
 * @Created by virus
 */

public interface IRegisterService {

    /**
     * 验证用户信息，并向用户表和用户验证表中插入数据
     * @param userRegisterRequest
     * @return UserRegisterResponse
     */
    UserRegisterResponse register(UserRegisterRequest userRegisterRequest);
}
